@media screen and (max-width: 768px) {
  .hide-sm {
    display: none;
  }
}
@media screen and (max-width: 1024px) {
  .hide-md {
    display: none;
  }
}
@media screen and (max-width: 1300px) {
  .hide-lg {
    display: none;
  }
}
* {
  box-sizing: border-box;
}
[v-cloak] {
  display: none;
}
html {
  height: 100%;
  padding: 0px;
  margin: 0px;
}
body {
  font-size: 14px;
  height: 100%;
  width: 100%;
  position: relative;
  margin: 0;
  padding: 0;
  color: #333;
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}
ul,
li,
dl,
dt,
dd {
  margin: 0px;
  padding: 0px;
}
h4,
p {
  margin: 0px;
}
#app {
  overflow: hidden;
  height: 100%;
  min-width: 1024px;
}
//公共样式
.iconfont {
  vertical-align: middle;
}
@font-face {
  font-family: "兰亭黑简"; //自定义字体名称
  src: url("/font/兰亭黑简.TTF");
}
@font-face {
  font-family: "方正兰亭粗黑简体"; //自定义字体名称
  src: url("/font/方正兰亭粗黑简体.TTF");
}
.p-sm {
  padding: 15px;
}
.m-b-sm {
  margin-bottom: 15px;
}
.vertical-middle {
  vertical-align: middle !important;
}
.vertical-top {
  vertical-align: top !important;
}
.transform_5 {
  transition: all 0.5s;
}
.checkbox-20 {
  .el-checkbox__input {
    .el-checkbox__inner {
      width: 20px;
      height: 20px;
      &::after {
        width: 4px;
        height: 10px;
        left: 7px;
        top: 2px;
      }
    }
  }
}
.pay_check_box .el-checkbox__label {
  display: none;
}
.overflow-omit {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: normal;
}
.line-feed {
  word-break: break-all;
  line-height: normal;
  margin-top: 5px;
}
.table-box {
  border: none;
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  // table-layout: fixed;
  thead {
    tr {
      height: 45px;
      color: #606266;
      border-bottom: 1px solid #ccc;
    }
    th {
      text-align: left;
    }
  }
  tbody {
    tr {
      height: 45px;
      border-bottom: 1px solid #eee;
      &:hover {
        background-color: rgb(245, 245, 245);
      }
    }
  }
  th,
  td {
    padding: 10px;
    word-break: break-all;
    // min-width: 100px;
  }
}
.primary-color {
  color: $primary-color !important;
}
.info-color {
  color: $info-color !important;
}
.success-color {
  color: $success-color !important;
}
.warning-color {
  color: $warning-color !important;
}
.error-color {
  color: $error-color !important;
}
.gay_color {
  color: $gay-color !important;
}
.dialog-box {
  .el-dialog__body {
    padding: 15px 20px !important;
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
    max-height: 600px;
    overflow: auto;
    position: relative;
  }
  .el-dialog__footer {
    padding: 10px 20px !important;
  }
}
// .is-checked {
//   .el-switch__core {
//     border-color: $primary-color !important;
//     background-color: $primary-color !important;
//   }
// }
.grid-table {
  width: 100%;
  border: 1px solid #eee;
  border-spacing: 0;
  border-collapse: collapse;
  tr {
    height: 45px;
    td {
      color: #666;
    }
    td,
    th {
      border: 1px solid #eee;
      padding: 5px 10px 5px 10px;
    }
  }
  > thead {
    th {
      font-weight: bold;
      text-align: initial;
    }
  }
}
.no-scroll {
  width: calc(100% + 17px);
  width: -moz-calc(100% + 17px);
  width: -webkit-calc(100% + 17px);
  height: 100%;
  position: relative;
  left: 0;
  top: 0;
  z-index: 1;
  overflow-x: hidden;
  overflow-y: auto;
}
.head-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
}
.pagination-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  > div:nth-child(1) {
    flex-grow: 1;
    width: 100%;
  }
  > div:nth-child(2) {
    flex-shrink: 0;
    display: inline-block;
  }
}
.el-card {
  .el-card__header {
    padding: 10px 15px;
  }
}
.el-form {
  .el-select {
    width: 100%;
  }
  .el-date-editor.el-input {
    width: 100%;
  }
}

//用来左右分配列表搜索
.form-tool {
  display: flex;

  > div:nth-child(1) {
    flex-grow: 1;
    width: 100%;
  }
  > div:nth-child(2) {
    flex-shrink: 0;
    padding-left: 20px;
  }
}
.el-range-separator {
  width: 26px !important;
}
//vip图标
.vip-box {
  position: absolute;
  z-index: 1;
  width: 45px;
  height: 22px;
  left: 0;
  top: 0;

  img {
    width: 100%;
    height: 100%;
    display: block;
  }
}
.drawer-box {
  .el-drawer__header {
    color: #000;
    > span {
      font-size: 18px;
      outline: none;
    }
  }
  .el-drawer__header {
    margin-bottom: 20px;
  }
  .el-drawer__body {
    border-top: 1px solid #eee;
    overflow: auto;
  }
}
.print_body {
  display: inline-block;
  width: 100%;
  h4 {
    text-align: center;
  }
  .title_box {
    display: inline-block;
    width: 100%;
    > span {
      width: 24%;
      display: inline-block;
    }
  }
}
// .el-tooltip__popper,
// .is-dark {
//   background-color: $bg-menu;
//   color:white;
// }
// .el-tooltip__popper {
//   position: absolute;
//   border-radius: 4px;
//   padding: 10px;
//   z-index: 2000;
//   font-size: 12px;
//   line-height: 1.2;
//   left: 68px !important;
// }
.el-loading-mask {
  z-index: 5000 !important;
}

.retail_box {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  .retail-item {
    // flex:1;
    width: 16%;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    margin-right: 15px;
    border-radius: 5px;
  }
  h4 {
    font-size: 20px;
    line-height: 40px;
  }
  p {
    line-height: 25px;
    opacity: 0.8;
  }
  .retail_detail {
    background: linear-gradient(to bottom, #458ece 0, #4185c1 100%);
    color: #fff;
    display: inline-block;
    width: 100%;
    text-indent: 10px;
    overflow: hidden;
  }
  .retail_footer {
    background-color: #f7f7f7;
    color: #888;
    display: inline-block;
    width: 100%;
    overflow: hidden;
    text-align: center;
  }
}
.full-screen {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  background-color: transparent !important;
}
.patient-layout {
  width: 100%;
  display: flex;
  height: 100%;
  align-items: stretch;
  > div:nth-child(1) {
    flex-shrink: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    // display: inline-block;
  }
  > div:nth-child(2) {
    flex-grow: 1;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    margin-left: 20px;
  }
}
.derate_input {
  width: 80%;
  .el-input__inner {
    width: 98%;
  }
}
.return-item_td .el-checkbox__label {
  display: none;
}
ul {
  list-style: none;
}
.remission_input {
  width: 100px !important;
  display: inline-block;
  border-left: 0px;
  border-right: 0px;
  border-bottom: 1px solid #ddd;
  border-top: 0px;
  border-radius: 0;
  .el-input__inner {
    border: 0px !important;
  }
}
.pay_source_box {
  .el-checkbox {
    width: initial !important;
  }
}
.repay_check {
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 8px 13px;
  .el-radio__input {
    display: none;
  }
  .el-radio__label {
    padding-left: 0px;
  }
}
.print_box {
  margin: 0px;
  padding: 0px;
  // padding: 10px;
  h1,
  h2,
  h3,
  h4,
  h5,
  p,
  ul,
  ol,
  li,
  dl,
  dt,
  dd {
    margin: 0px;
    padding: 0px;
  }
  h3 {
    margin-top: 10px;
  }
  .nav_patient_menu {
    display: inline-block;
    width: 100%;
    li {
      display: inline-block;
      font-size: 12px;
      margin-bottom: 10px;
      width: 33%;
    }
  }
}
.print_dl_box {
  width: 200px;
  margin: 0 auto;
}
.print_dl_space {
  display: inline-block;
  margin-left: 20px;
}
.onfooter_box {
  position: absolute;
  bottom: 10px;
  left: 10px;
}
.print_footer_box {
  display: inline-block;
  width: 100%;
  margin-top: 10px;
  p {
    display: inline-block;
    width: 30%;
  }
} 
.baby_control_textarea {
  height: 36px;
}
.baby_control_textarea .el-textarea__inner {
  height: 36px;
}
// 设置预览图片的关闭按钮颜色
.el-image-viewer__close {
  .el-icon-circle-close {
    color: white !important;
  }
}
//树组件样式
.tree-box {
  border-top: 1px dotted #ccc;
  .el-tree-node > div:nth-child(1) {
    font-weight: bold;
  }
  .el-tree-node__children .el-tree-node__content {
    font-weight: normal !important;
  }
  .el-tree-node__content {
    height: 40px;
    line-height: 40px;
    border-bottom: 1px dotted #ccc;
  }
  .is-current {
    border-left: 2px solid $primary-color;
    background-color: rgba(#e6f3ef, 0.3);

    > .el-tree-node__content:nth-child(1) {
      background-color: #e6f3ef;
    }
  }

  .is-current.is-expanded {
    border-left: 2px solid $primary-color;
  }
}
.el-tabs{ 
  .el-tabs__nav-scroll::-webkit-scrollbar {display:none}
}

